package com.kitty.game.activity.service;

import com.kitty.game.activity.message.ReqSwitchShuaDaoLevel;
import com.kitty.game.bag.message.ReqSavePet;
import com.kitty.game.role.model.Role;
import com.kitty.mina.annotation.RequestMapping;
import lombok.extern.slf4j.Slf4j;
import org.apache.mina.core.session.IoSession;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class ShuaDaoService {



    public void updateShuaDaoState(Role role, ReqSwitchShuaDaoLevel reqSwitchShuaDaoLevel){
        //修改刷道状态。
        role.getPropsStatus().setv("shuadao_state", reqSwitchShuaDaoLevel.getType());
    }
}
